﻿using PetkaWebDav.Server.Framework;
using PetkaWebDav.Server.Framework.Security;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace PetkaWebDav.Handler.AzureBlob
{
    public class AzureBlobWebDavHandler
    {
        private WebDavProcessor __webDavProcessor = new WebDavProcessor(Authentication.Forms);

        public bool IsReusable
        {
            get
            {
                return true;
            }
        }

        public void ProcessRequest(HttpContext context)
        {
            __webDavProcessor.ProcessRequest(context.ApplicationInstance);
        }
    }
}